import requests
from pydantic import BaseModel


class UrlRequest(BaseModel):
    url: str


# 创建无痕会话
def create_session():
    _session = requests.Session()
    _session.cookies.clear()
    return _session
